package dataObjects
{
	import mx.collections.ArrayCollection;
	import mx.controls.Alert;

	public class AlbumInstance 
	{
		public var templateID:	int;
		public var name:		String;
		public var image:		String;
		public var cards:		ArrayCollection;
	
		public var origin: AlbumTemplate;
		public var owner:String;
		public var pasted:ArrayCollection;
		
		public var players:		int;
		public var published:   Boolean;
		
		public function AlbumInstance(origin: AlbumTemplate,owner:String, pasted:ArrayCollection)
		{
			this.templateID = origin.templateID;
			this.name= origin.name;
			this.image= origin.image;
			this.cards= origin.cards;
			
			this.origin = origin;
			this.owner = owner;
			this.pasted = pasted;

			this.published = true;
			this.players = 20;
			
		}
	}
}